SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60277: Multi-byte character set names might generate garbled text in the ODS output from some SAS/STAT® software procedures in a UTF8 SAS® session

DetailsAboutRate It

Unprintable square characters might appear in the output from some SAS/STAT software procedures when you use a UTF8 SAS session with the VALIDVARNAME=ANY system option. The procedures include the following:

  • GENMOD
  • GLM
  • GLMSELECT
  • LOGISTIC
  • MIXED

This problem can occur if a variable name is in a multi-byte character set and there is not enough space in a column to print the full value.  An example is shown below:   

 

 

For example, the problem would occur with the following code:

proc logistic data=test;
   model y='あああああああああ'n;
run;

To circumvent the problem, include the NAMELEN= option in the PROC statement.  In this case, setting the NAMELEN= option to 30 resolves the issue.

proc logistic data=test namelen=30;
   model y='あああああああああ'n;
run;

 



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATWindows 7 Professional x6414.115.19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2008 for x6414.19.4 TS1M3
Microsoft Windows Server 2012 Datacenter14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 R2 Std14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 Std14.115.19.4 TS1M39.4 TS1M6
Windows 7 Enterprise 32 bit14.115.19.4 TS1M39.4 TS1M6
Windows 7 Enterprise x6414.115.19.4 TS1M39.4 TS1M6
Windows 7 Home Premium 32 bit14.115.19.4 TS1M39.4 TS1M6
Windows 7 Home Premium x6414.115.19.4 TS1M39.4 TS1M6
Windows 7 Professional 32 bit14.115.19.4 TS1M39.4 TS1M6
Windows 7 Ultimate 32 bit14.115.19.4 TS1M39.4 TS1M6
Windows 7 Ultimate x6414.115.19.4 TS1M39.4 TS1M6
64-bit Enabled AIX14.115.19.4 TS1M39.4 TS1M6
64-bit Enabled Solaris14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2008 R214.19.4 TS1M3
Microsoft Windows Server 200814.19.4 TS1M3
Microsoft Windows 1014.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Pro x6414.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Enterprise x6414.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Pro x6414.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Pro 32-bit14.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Enterprise x6414.115.19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit14.115.19.4 TS1M39.4 TS1M6
Microsoft® Windows® for x6414.115.19.4 TS1M39.4 TS1M6
z/OS 64-bit14.115.19.4 TS1M39.4 TS1M6
z/OS14.115.19.4 TS1M39.4 TS1M6
HP-UX IPF14.115.19.4 TS1M39.4 TS1M6
Linux for x6414.115.19.4 TS1M39.4 TS1M6
Solaris for x6414.115.19.4 TS1M39.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.